package com.jnmd.mapper;

import java.util.List;

import com.jnmd.pojo.BatchDelete;
import com.jnmd.pojo.QueryTsc;
import com.jnmd.pojo.Video;

public interface VideoMapper {

	/**
	 * 查询所有video
	 * @param queryTsc 
	 */
	public List<Video> getAllVideo(QueryTsc queryTsc);

	/**
	 * 增加video
	 * @param video
	 */
	public void saveVideo(Video video);

	public void updateVideo(Video video);

	public Video findVideoById(int id);

	public int deleteVideoById(int id);

	public int batchDelete(BatchDelete bd);

	public int getCountByQueryTsc(QueryTsc queryTsc);
		

//	/**
//	 * 删除video
//	 */
//	public void deleteVideo(int id);

	
}
